﻿using System;
using ValidationFramework.Reflection;

namespace ValidationFramework
{
	public interface ISpecification
	{
		string DefaultMessage(string targetName, string descriptorType);
		bool IsSatisfiedBy(object target);
		bool CanBeSatisfiedBy(Type type);
      	bool IsEquivalentTo(ISpecification spec);
	}
}
